package bean;

import java.sql.ResultSet;
import java.sql.SQLException;

import common.RowMapper;

public class FirstCategoryRowMapper implements RowMapper<FirstCategory> {

	@Override
	public FirstCategory mapper(ResultSet rs) throws SQLException {
		FirstCategory fc=new FirstCategory();
		fc.setFirstCategoryid(rs.getInt("first_categoryid"));
		fc.setName(rs.getString("name"));
		return fc;
	}
}
